// Copyright DustedPixels.com 2008. All rights reserved.

package com.dustedpixels.jasmin.chips;

/**
 * @author micapolos@gmail.com (Michal Pociecha-Los)
 */
public final class AdderImpl implements Adder {
  private int sum;
  
  public void update(Pins pins) {
    sum += pins.IN;
    pins.OUT = sum;
  }
}
